package com.ruoyi.goods.mapper;

import com.ruoyi.goods.domain.BmInordergoodslist;
import com.ruoyi.goods.domain.BmInorderlist;
import org.springframework.stereotype.Repository;

/**
 * @Author {那蓝桉}
 * @Date: 2023/08/16/ 11:02
 * @description
 */
@Repository
public interface SeckillMapper {
    String getMaxOrderCode();
    int insertOrderList(BmInorderlist bmInorderlist);
    int insertOrderGoodsList(BmInordergoodslist bmInordergoodslist);
    int updateStockBySpecificationId(Long id,Long stock);
    Integer getOrderStep(String orderCode);
    boolean updateOrderState(String orderCode);
    Long getSpecificationIdByOrderCode(String orderCode);
    Double getAmount(Integer id);
}
